﻿using System.Collections.Generic;
namespace LVYAN.Model
{
    public class Message
    {
        /// <summary>
        /// 
        /// </summary>
        public string role { get; set; }
        /// <summary>
        /// 作为AI模型，
        /// 我是一个人工智能语言模型，
        /// </summary>
        public string content { get; set; }
    }

    public class ChoicesItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string finish_reason { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Message message { get; set; }
    }

    public class Output
    {
        /// <summary>
        /// 
        /// </summary>
        public List<ChoicesItem> choices { get; set; }
    }

    public class Usage
    {
        /// <summary>
        /// 
        /// </summary>
        public int total_tokens { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int output_tokens { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int input_tokens { get; set; }
    }

    public class QWenResponseGeneration
    {
        /// <summary>
        /// 
        /// </summary>
        public Output output { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Usage usage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string request_id { get; set; }
    }

}
